package com.atguigu.spzx.order.mapper;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.h5.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-21-20:54
 */
@Mapper
public interface OrderItemMapper {

    void batchSave(@Param("orderItemList") List<OrderItem> orderItemList);

    List<OrderItem> findByOrderId(Long id);

}
